package top.healthylife.gateway.platform.mysql.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author GaoZexi
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("")
@EqualsAndHashCode(callSuper = false)
@TableName("demo_student")
public class DemoStudent implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.ASSIGN_UUID)
    @ApiModelProperty("id")
    private String id;
    @ApiModelProperty("班级名称")
    private String className;
    @ApiModelProperty("姓名")
    private String name;
    @ApiModelProperty("性别")
    private String gender;
    @ApiModelProperty("年龄")
    private Integer age;
    @ApiModelProperty("家长联系电话")
    private String phone;
    @ApiModelProperty("身份证")
    private String idCard;
    @ApiModelProperty("金额")
    private Integer quota;

}
